Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Relay][ONNX][Frontend] Fix issue when group attribute isnt defined in convtranspose. #7655

Merged
merged 1 commit into from
Mar 15, 2021

Conversation

jwfromm
Copy link
Contributor

@jwfromm jwfromm commented Mar 12, 2021

The convtranspose importer incorrectly was assuming that the group attribute will always be defined. Instead, it is supposed to default to 1 when not provided. This 1-liner handles it properly. I also cleaned up some code duplication in the convtranspose test.

@jwfromm
Copy link
Contributor Author

jwfromm commented Mar 12, 2021

@mbrookhart @masahi can one of you take a look at this small fix?

Copy link
Contributor

@mbrookhart mbrookhart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mbrookhart mbrookhart merged commit 3beec22 into apache:main Mar 15, 2021
@mbrookhart
Copy link
Contributor

Thanks @jwfromm

trevor-m pushed a commit to trevor-m/tvm that referenced this pull request May 6, 2021
@jwfromm jwfromm deleted the onnx_convtranspose_group branch April 12, 2023 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants